// =====================  开始  ======================
console.log('=====================  开始  ======================')
const message1 = 'Error: foo in not defined';

console.log('startsWith', message1.startsWith('Error'));
console.log('endsWith', message1.endsWith('Error'));
console.log('includes', message1.includes('Error'));


console.log('=====================  结束  ======================')
// =====================  结束  ======================